@isTest
public with sharing class Test_NA_RegisteredSubscriptions 
{
	
	static testMethod void testRegisteredSubscriptionsRequest() 
	{
		NA_RegisteredSubscriptions.rsInputs rsInputItem = new NA_RegisteredSubscriptions.rsInputs();
		
		NA_RegisteredSubscriptions.rsOutputs nfOutputItem = NA_RegisteredSubscriptions.RegisteredSubscriptionsRequest(rsInputItem);
		nfOutputItem = NA_RegisteredSubscriptions.RegisteredSubscriptionsRequest(null);

		rsInputItem.RowId = 1;
		rsInputItem.State = 'Activated';
		rsInputItem.Referrer = 'test';
		rsInputItem.Code = 'code-12-34';
		rsInputItem.CodeVersion = 1;
		rsInputItem.Status = 1;
		rsInputItem.Email = 'ppp@yahoo.com';
		rsInputItem.FirstOrderRef = 'FirstOrderRef-value';
		rsInputItem.SubscriptionRef = 'SubscriptionRef-val';
		rsInputItem.Duration = 100;
		rsInputItem.SubscriptionURL = 'http://www.google.com?q=SF';
		rsInputItem.SubscriptionDate = '2011-12-18';
		rsInputItem.XMLContent = 'test Content!';
		nfOutputItem = NA_RegisteredSubscriptions.RegisteredSubscriptionsRequest(rsInputItem);
		
		rsInputItem.State = 'Canceled';
		nfOutputItem = NA_RegisteredSubscriptions.RegisteredSubscriptionsRequest(rsInputItem);
		
		
		rsInputItem.RowId = 1;
		rsInputItem.State = 'Activated';
		rsInputItem.Referrer = 'test';
		rsInputItem.Code = 'code-12-34';
		rsInputItem.CodeVersion = 1;
		rsInputItem.Status = 1;
		rsInputItem.Email = 'pppfff';
		rsInputItem.FirstOrderRef = 'FirstOrderRef-value';
		rsInputItem.SubscriptionRef = 'SubscriptionRef-val';
		rsInputItem.Duration = 100;
		rsInputItem.SubscriptionURL = 'dddd';
		rsInputItem.SubscriptionDate = 'fffff';
		nfOutputItem = NA_RegisteredSubscriptions.RegisteredSubscriptionsRequest(rsInputItem);
		
		rsInputItem.State = 'Changed';
		nfOutputItem = NA_RegisteredSubscriptions.RegisteredSubscriptionsRequest(rsInputItem);
		
	}
	


}